<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<jsp:include page="fragments/header.jsp" flush="true" />
</head>
<body>
<jsp:include page="fragments/menu.jsp" flush="true" />

	<div id="wrap" style="margin-top: 110px;">
		<div class="container" style="margin-top: 40px;">
			<div class="page-header"></div>
			<form action="/imovelPesquisaController">
				<div class="row">
					<div class="span9" style="margin-bottom: 20px;">
					<ul>
					<li >
					<c:forEach items="${tipoPesquisas}" var="tipoPesquisa">
			 			<label style="float: left; margin-left: 165px;"> <input
							type="radio" value="${tipoPesquisa.codigo}" title="COMPRAR"><span>${tipoPesquisa.descricao}</span>
						</label>
					</c:forEach>
					</li>
					</ul>
					</div>
					<div class="span12">
						<label style="float: left;">Estado</label>
						<select id="codEstado" style="height: 35px; width: 330px; margin-left: 74px;">
							 <c:forEach items="${tipoEstados}" var="tipoEstado">
							<option value="${tipoEstado.codigo}" >${tipoEstado.descricao}</option>
						 </c:forEach>
						</select> 
						
						<select id="codTipoImovel"
							style="height: 35px; width: 350px; margin-left: 70px;">
						 <c:forEach items="${tipoImoveis}" var="tipoImovel">
							<option value="${tipoImovel.codigo}" >${tipoImovel.descricao}</option>
						 </c:forEach>
						</select>

					</div>

					<div class="span9">
						<label style="float: left;">Localidade</label> <select
							id="codLocalidade"
							style="height: 35px; width: 330px; margin-left: 50px;">
							<option value="20">Capital</option>
							<option value="48">Interior</option>
							<option value="61">Litoral Norte (Região dos Lagos)</option>
							<option value="63">Litoral Sul (costa verde)</option>
							<option value="70">Região Serrana</option>
						</select> 
			
						
						<input type="text"
							style="height: 35px; width: 347px; margin-left: 69px;">
					</div>

					<div class="span9">
						<label style="float: left;">Cidade</label> <select id="codCidade"
							style="height: 35px; width: 330px; margin-left: 74px;">
							<option value="7043">Rio de Janeiro</option>
							<option value="6989">Niterói</option>
						</select> <input type="text"
							style="height: 35px; width: 347px; margin-left: 70px;">
					</div>
				</div>
				<input type="submit" class="btn btn-large btn-primary"
					value="Buscar" style="margin-left: 390px; margin-top: 10px;">
			</form>
		</div>

		<!-- left -->
		<div id="push"></div>


	</div>

	<div id="footer">
		<div class="container">
			<p class="muted credit">
				Zip Imóveis <a href="http://mvmtecnologia.com.br/">© MVM
					Tecnologia 2013</a>.
			</p>
		</div>
	</div>

</body>
</html>